﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace Authorization
{
    [ServiceContract(Name = "AuthorizationSynchronizeService", Namespace = "http://authorizationservices/v1")]
    [DataContractFormat(Style = OperationFormatStyle.Document)]
    interface IAuthorizationSynchronizeService
    {

        /// <summary>
        /// Realiza a atualizacao do cache aos demais servidores azman.
        /// Jose Mauro - Rerum 27/05/2011 IM120338
        /// </summary>
        ///<returns></returns>
        [FaultContract(typeof(ArgumentNullException))]
        [FaultContract(typeof(AuthorizationServiceError))]
        [OperationContract(Name = "UpdateCache")]
        [WebInvoke(Method = "POST")]
        void UpdateCache();

    }
}
